import request from '@/utils/request'

// 入库 箱号扫描
export function getOrderBoxByBoxNo(data) {
  return request({
    url: '/orderInfo/getOrderBoxByBoxNo',
    method: 'post',
    data
  })
}
// 入库 流转箱号扫描
export function getContainerByContainerCode(data) {
  return request({
    url: '/orderInfo/getContainerByContainerCode',
    method: 'post',
    data
  })
}
// 入库  SKU扫描
export function getOrderSkuBySkuCode(data) {
  return request({
    url: '/orderInfo/getOrderSkuBySkuCode',
    method: 'post',
    data
  })
}
// 上传信息
export function updateOrderInfoForReceipt(data) {
  return request({
    url: '/orderInfo/updateOrderInfoForReceipt',
    method: 'post',
    data
  })
}

//  流转箱号扫描
export function getContainerByContainerCodeNew(data) {
  return request({
    url: '/container/getContainerByContainerCode',
    method: 'post',
    data
  })
}

// SKU扫描
export function skuScan(data) {
  return request({
    url: '/goodsSku/scanSku',
    method: 'post',
    data
  })
}

// SKU扫描-新
export function skuScanNew(data) {
  return request({
    url: '/goodsSku/skuContainerOrder',
    method: 'post',
    data
  })
}

// 退件入库拆分
export function returnEnterDivide(data) {
  return request({
    url: '/inbound/returnEnterDivide',
    method: 'post',
    data
  })
}

// 退件入库不拆分
export function returnEnterIndivide(data) {
  return request({
    url: '/inbound/returnEnterIndivide',
    method: 'post',
    data
  })
}
